/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.asportoonline.integration;

import java.util.List;
import javax.ejb.Local;
import org.asportoonline.entities.Cliente;
import org.asportoonline.entities.Locale;

/**
 *
 * @author fe
 */
@Local
public interface LocaleFacade {

    void create(Locale locale);

    void edit(Locale locale);

    void remove(Locale locale);

    Locale find(Object id);

    List<Locale> findAll();

    List<Locale> findRange(int[] range);

    int count();

    Locale find(long id);

    Locale find(String nome);
    
    List<Locale> fetch_vendor_locals(Cliente c);
    
    List<String> fetch_all_locality();
    
    List<Locale> find_for_locality(String locality);

}
